<?xml version="1.0" encoding="utf-8"?>
<openbox_menu xmlns="http://openbox.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://openbox.org/                 file:///usr/share/openbox/menu.xsd">

  <menu id="openbox-menu" label="Openbox">
    <item label="obconf">
      <action name="Execute">
        <command>obconf</command>
        <!--startupnotify><enabled>yes</enabled></startupnotify-->
      </action>
    </item>
    <item label="obmenu">
      <action name="Execute">
        <command>obmenu</command>
      </action>
    </item>
    <item label="obkey">
      <action name="Execute">
        <command>obkey</command>
      </action>
    </item>
    <separator />
    <item label="Reconfigure">
      <action name="Reconfigure" />
    </item>
    <menu id="openbox-files-menu" label="Files">
      <item label="rc.xml">
        <action name="Execute">
          <command>emacs-eval '(find-file "~/.config/openbox/rc.xml")'</command>
        </action>
      </item>
      <item label="menu.xml">
        <action name="Execute">
          <command>emacs-eval '(find-file "~/.config/openbox/menu.xml")'</command>
        </action>
      </item>
      <item label="autostart">
        <action name="Execute">
          <command>emacs-eval '(find-file "~/.config/openbox/autostart")'</command>
        </action>
      </item>
    </menu>
    <item label="Restart">
      <action name="Restart" />
    </item>
  </menu>

  <menu id="logout-menu" label="Logout">
    <item label="Shutdown">
      <action name="Execute">
        <command>sudo shutdown -h now</command>
      </action>
    </item>
    <item label="Reboot">
      <action name="Execute">
        <command>sudo shutdown -r now</command>
      </action>
    </item>
    <item label="Openbox exit">
      <action name="Exit"/>
    </item>
  </menu>

  <menu id="root-menu" label="Openbox 3">
    <!-- <separator label="Openbox"/> -->
    <item label="Desktop prefs (pcmanfm)">
      <action name="Execute">
        <command>pcmanfm --desktop-pref</command>
      </action>
    </item>
    <item label="LXAppearance">
      <action name="Execute">
        <command>lxappearance</command>
      </action>
    </item>
    <menu id="openbox-menu"/>
    <!-- <menu id="logout-menu"/> -->
    <item label="Logout">
      <action name="Execute">
        <command>logout-ask</command>
      </action>
    </item>
    <item label="Xterm">
      <action name="Execute">
        <command>xterm</command>
      </action>
    </item>
    <item label="Emacs">
      <action name="Execute">
        <command>emacs</command>
      </action>
    </item>
    <item label="Conkeror">
      <action name="Execute">
        <command>conkeror</command>
      </action>
    </item>
  </menu>
</openbox_menu>
